package com.neuedu.yyzx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 班车路线 
 * </p>
 *
 * @author dya
 * @since 2021-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Bus implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    @TableId(value = "BUS_ID", type = IdType.AUTO)
    private Integer busId;

    /**
     * 线路代号
     */
    @TableField("BUS_NUM")
    private String busNum;

    /**
     * 公车方向
     */
    @TableField("BUS_DIRECTION")
    private String busDirection;

    /**
     * 运行时间
     */
    @TableField("RUNNING_TIME")
    private LocalDate runningTime;

    /**
     * 时间
     */
    @TableField("TIME")
    private LocalDateTime time;

    /**
     * 途径
     */
    @TableField("CHANNEL")
    private String channel;


}
